-- GENERATED SPELL FOR [Ashmane Boar] --


function spell0_5992(pUnit, Event) --@Rushing Charge,Self--
pUnit:FullCastSpellOnTarget(6268,pUnit)
pUnit:RegisterEvent('Sorts_5992', 3000, 1)
end

function Sorts_5992(pUnit, Event)
local choix_sorts_5992 = math.random(0, 0)
if choix_sorts_5992 == 0 then
pUnit:RegisterEvent('spell0_5992', 1, 1)
end
end

function mob5992_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5992', math.random(1500, 3000), 1)
end

function mob5992_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5992_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5992_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5992, 1, 'mob5992_Action')
RegisterUnitEvent(5992, 2, 'mob5992_Leave')
RegisterUnitEvent(5992, 3, 'mob5992_Kill')
RegisterUnitEvent(5992, 4, 'mob5992_Die')
